package cn.edu.cqytxy;

import java.util.Scanner;

public class Eg1 {
    static Scanner scanner = new Scanner(System.in);

    public static void main(String[] args) {

        System.out.print("输入一个数，进行奇数偶数判断：");
        int num = scanner.nextInt();
        if (num % 2 == 0) {
            System.out.print("这个数是偶数");
        }else {
            System.out.print("这个数是奇数");
        }
    }
}
